<div class="page page-form" data-ng-controller="updatePhone">
<div class="panel panel-default">
    <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;修改学生信息</strong></div>
    <div class="panel-body"  data-ng-controller="signupCtrl">
        <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHide" class="control-label">{{showInfo}}</label></div>
        <form style="margin-left: 12%;" class="col-md-7 form-horizontal form-validation" data-ng-submit="updateInterview()">
            <div class="form-group">
                <div class="col-sm-4">
                    <label for="name">姓名</label>
                </div>
                <div class="col-sm-8">
                    <input  type="text"
                            class="form-control"
                            id="name"
                            placeholder="最小长度2, 最大长度 6"
                            data-ng-model="info.realName"
                            required
                            data-ng-minlength="2"
                            data-ng-maxlength="6">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label>电话</label>
                </div>
                <div class="col-sm-8">
                    <input type="text"
                           class="form-control"
                           data-ng-model="info.phoneNum"
                           data-ng-minlength="11"
                           data-ng-maxlength="11"
                           placeholder="长度为11位"
                           required>
                </div>
            </div>
            <div class="form-group" data-ng-show="userPerHide">
                <div class="col-sm-4">
                    <label>咨询老师</label>
                </div>
                <div class="col-sm-8">
                    <select id="user" data-ng-model="info.userId" class="col-sm-12" style="font-size: 15px;height: 35px;"
                            data-ng-options="m.id as m.realname for m in userItem" required>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label >学历</label>
                </div>
                <div class="col-sm-8">
                    <select id="edu" data-ng-model="info.eduId" class="col-sm-12" style="font-size: 15px;height: 35px;"
                            data-ng-options="m.id as m.name for m in edu" required>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label >来源</label>
                </div>
                <div class="col-sm-8">
                    <select id="source" data-ng-model="info.sourceId" class="col-sm-12" style="font-size: 15px;height: 35px;"
                            data-ng-options="m.id as m.name for m in enroll" required>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-4">
                    <label >创建时间</label>
                </div>
                <div class="col-sm-8">
                    {{info.createTime}}
                </div>
            </div>
            <br/>
            <button type="submit"
                    class="btn btn-info btn-block btn-lg"
                    >保存</button>
        </form>
    </div>
</div>
</div>